package com.hssy.wululuaplan.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hssy.wululuaplan.entity.Student;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "学生Vo类")
public class StudentVo extends Student {

    @ApiModelProperty(value = "年龄")
    private int age;

    @ApiModelProperty(value = "生日")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;


}
